package com.example.pluginmanager.dao;

import com.example.pluginmanager.entity.Resource;
import com.example.pluginmanager.entity.RoleResourceRelation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleResourceRelationDao {
    RoleResourceRelation getRoleResourceById(String id);

    //根据角色id,查出所有关联的资源
    List<Resource> listRoleResourceRelation(List<String> roleIds);
}
